<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="staticPath" value="${pageContext.request.contextPath}" />
<c:set var="path" value="${staticPath }"/>
<script type="text/javascript">
    var BASE_URL = "${staticPath }";
</script>